package com.woniuxy.entity;

import lombok.extern.slf4j.Slf4j;

public class User {
  private int id;
  private String admin;
  private String password;
  private String role;
  private String status;

  public User(int id, String admin, String password, String role, String status) {
    this.id = id;
    this.admin = admin;
    this.password = password;
    this.role = role;
    this.status = status;
  }

  @Override
  public String toString() {
    return "User{" +
            "id=" + id +
            ", admin='" + admin + '\'' +
            ", password='" + password + '\'' +
            ", role='" + role + '\'' +
            ", status='" + status + '\'' +
            '}';
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getAdmin() {
    return admin;
  }

  public void setAdmin(String admin) {
    this.admin = admin;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getRole() {
    return role;
  }

  public void setRole(String role) {
    this.role = role;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

}
